package com.itheima.travel.service;

import com.itheima.travel.req.SellerVo;

/**
 * @author YYP
 * @date 2020/11/13
 */
public interface SellerService {
    /**
     * 卖家注册
     * @param sellerVo
     * @return 注册是否成功
     */
    Boolean registerSeller(SellerVo sellerVo);

    /**
     * 卖家登陆
     * @param sellerVo
     * @return 登陆成功后返回
     */
    SellerVo loginSeller(SellerVo sellerVo);

    /**
     * 卖家退出
     */
    void loginOutSeller();

    /**
     * 卖家是否登录
     * @return
     */
    Boolean isLogin();
}
